﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Majoopic.WPFClient.Model
{
    public abstract class BaseModel : INotifyPropertyChanged
    {

        protected void OnPropertyChanged(string p)
        {
            if (this.PropertyChanged != null)
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(p));
            }
        }
        
        public event PropertyChangedEventHandler PropertyChanged;
    }
}
